package com.yunji.storage.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.dto
 * @Title: StockDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-22 15:22:23      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockDTO {

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("所属ID")
    private Long belongId;

    @ApiModelProperty("出入库类型")
    private Integer storageType;

    @ApiModelProperty("商品数量")
    private BigDecimal actualQuantity;

    public Long getBelongId() {
        return belongId;
    }

    public void setBelongId(Long belongId) {
        this.belongId = belongId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getStorageType() {
        return storageType;
    }

    public void setStorageType(Integer storageType) {
        this.storageType = storageType;
    }

    public BigDecimal getActualQuantity() {
        return actualQuantity;
    }

    public void setActualQuantity(BigDecimal actualQuantity) {
        this.actualQuantity = actualQuantity;
    }

}